home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Headers / misckit / miscgiskit / MiscUTMCoord.h < prev    next >
Encoding:
Text File  |  1995-07-08  |  1.1 KB  |  46 lines

  1. /*============================ MiscUTMCoord.h ===============================*/
  2. /* MiscUTMCoord class contains and supports values representing locations
  3.    in a Universal Transverse Mercator coordinate system.
  4.  
  5.    DMA Release 0.8, Copyright @1993 by Genesis Project, Ltd. All Rights
  6.    Reserved. For further information on terms and conditions see
  7.         the MiscKit license.
  8.  
  9. HISTORY
  10. 25-Feb-93  Dale Amon at GPL
  11.        Created.
  12. */
  13.  
  14. #import <appkit/appkit.h>
  15. #import <misckit/miscgiskit.h>
  16.  
  17. /* ordering of coordinates in storage */
  18. #define    MISC_EASTINGS    0
  19. #define    MISC_NORTHINGS    1
  20. #define    MISC_ELEVATION    2
  21.  
  22. @interface MiscUTMCoord:MiscCoord
  23. {
  24. }
  25.  
  26. -initDescription: (char *) txt constants: anObject;
  27.  
  28. -setCoordEastingMeters: (double) east
  29.         northingMeters: (double) north
  30.        elevationMeters: (double) alt;
  31.  
  32. -coordEastingMeters: (double *) east
  33.      northingMeters: (double *) north
  34.     elevationMeters: (double*) alt;
  35.  
  36. -(double) easting;
  37. -(double) northing;
  38. -(double) elevation;
  39.  
  40. /* blocked methods */
  41. -initDescription: (char *) txt
  42.        converter: (id <MiscCoordConverterServer>) aConverter
  43.        constants: anObject;
  44.  
  45. @end
  46.